package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaHumanProbation;
import com.ruoyi.oa.domain.bo.OaHumanProbationBo;
import com.ruoyi.oa.domain.vo.OaHumanProbationVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;
/**
 * 转正申请Mapper接口
 *
 * @author ruoyi
 * @date 2023-06-29
 */
public interface OaHumanProbationMapper extends BaseMapperPlus<OaHumanProbationMapper, OaHumanProbation, OaHumanProbationVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaHumanProbationVo> queryByCondition(OaHumanProbationBo bo);

    OaHumanProbationVo getInfoById(String id);
}
